package org.example.service;

import org.example.config.TestOpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
@Component
@FeignClient(name = "cloud-producer",configuration = TestOpenFeignConfig.class,fallbackFactory = TestFallBackFactory.class)
public interface TestOpenFeign {
    @GetMapping("/testOpenFeign")
    String testOpenFeign();
}
